import config from "@/config"
import http from "@/utils/request"

export default {
	getCustomerList: {
		url: `${config.API_URL}/merchant/chat/getCustomerList`,
		name: "获取访客信息",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
	},
	getChatLog: {
		url: `${config.API_URL}/merchant/chat/getChatLog`,
		name: "获取聊天记录",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
	},
	getCustomerInfo: {
		url: `${config.API_URL}/merchant/chat/getCustomerInfo`,
		name: "获取访客记录",
		get: async function(data={}){
			return await http.get(this.url, data);
		}
	}
}
